<template>
  
  <Navbar />
  <router-view v-slot="{ Component }">
    <transition name="fade" mode="out-in">
      <component :is="Component" />
    </transition>
  </router-view>
</template>
<!-- <template>
  <div v-if="$loading" class="global-loading">
    <div class="loading-spinner"></div>
  </div>
  <router-view v-else v-slot="{ Component }">
    <transition name="fade" mode="out-in">
      <component :is="Component" />
    </transition>
  </router-view>
</template> -->
<script setup>
import Navbar from './components/Navbar.vue'
</script>

<style>
@import './styles/variables.css';

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>
